package com.qf.service;

import com.qf.pojo.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> getAllPermissionsByUsernae(String username);
    Permission findPermissionBypid(int pid);
    int add(Permission permission);
    int update(Permission permission);
    int delete(int pid);
    List<Permission> getAllPermission();
}
